package com.dx.common.table.ppt;

import com.dx.mes.common.bean.entity.UUIDObject;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import org.springframework.stereotype.Component;

import java.util.Objects;

/**
 * Bis_bom entity provides the base persistence definition of the
 * Bis_bom entity. @author MyEclipse Persistence Tools
 */

public class Trans_prd_indtId extends UUIDObject implements java.io.Serializable {

	// Fields

	private String prd_seq_id_fk;
	private String box_id_fk;

	// Constructors

	/** default constructor */
	public Trans_prd_indtId() {
	}
	/** minimal constructor */
	public Trans_prd_indtId(String prd_seq_id_fk, String box_id_fk) {
		this.prd_seq_id_fk = prd_seq_id_fk;
		this.box_id_fk = box_id_fk;
	}
	/** full constructor */

	// Property accessors


	public String getPrd_seq_id_fk() {
		return prd_seq_id_fk;
	}

	public void setPrd_seq_id_fk(String prd_seq_id_fk) {
		this.prd_seq_id_fk = prd_seq_id_fk;
	}

	public String getBox_id_fk() {
		return box_id_fk;
	}

	public void setBox_id_fk(String box_id_fk) {
		this.box_id_fk = box_id_fk;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		Trans_prd_indtId that = (Trans_prd_indtId) o;
		return Objects.equals(prd_seq_id_fk, that.prd_seq_id_fk) &&
				Objects.equals(box_id_fk, that.box_id_fk);
	}

	@Override
	public int hashCode() {
		return Objects.hash(prd_seq_id_fk, box_id_fk);
	}

	@Override
	public String toString() {
		return "Trans_prd_indtId{" +
				"prd_seq_id_fk='" + prd_seq_id_fk + '\'' +
				", box_id_fk='" + box_id_fk + '\'' +
				'}';
	}
}